//
//  WildDogService.h
//  SideDemo
//
//  Created by zsp on 16/4/26.
//  Copyright © 2016年 zsp. All rights reserved.
//

#import <Foundation/Foundation.h>

//@class Wilddog;
@interface WildDogService : NSObject

//@property(nonatomic, strong, readonly)Wilddog *wilddog;

+(WildDogService*)shareInstance;

- (void)saveData:(NSString*)data;
- (void)updateData:(NSString*)data;

/**
 *  增加数据发生变化时的监听器
 *
 *  @param object <#object description#>
 */
- (void)addValueChangedObserver:(NSObject*)object;

/**
 *  移除数据发生变化时的监听器
 *
 *  @param object <#object description#>
 */
- (void)removeValueChangedObserver:(NSObject*)object;

/**
 *  多用户同时提交数据时
 *
 *  @param data <#data description#>
 */
- (void)postsData:(NSString*)data;

@end
